import { defineStore } from "pinia";
import { ref } from "vue";

export const useChannelStore = defineStore('channel', () => {
  const channelId = ref(0)
  
  function updateChannelId(id: number) {
    channelId.value = id;
  }
  
  return { channelId, updateChannelId }
})